// ==UserScript==
// @name                RestFacebook
// @namespace           http://geneura.org/projects/soraya/greasemonkey
// @description         Interfaz REST
// @include             *facebook.com/*
// ==/UserScript==

GM_xmlhttpRequest({
    method: 'GET',
    url: 'https://graph.facebook.com/99394368305';
    onload: function(responseDetails) {
        alert('Request for Atom feed returned ' + responseDetails.status +
              ' ' + responseDetails.statusText + '\n\n' +
              'Feed data:\n' + responseDetails.responseText);
    
	eval("var respuesta = "+ responseText);
	alert('Id de respuesta' + respuesta.id );
	}
});